project(NeuralNetwork)
cmake_minimum_required(VERSION 2.8)

set( BOOST_COMPONENTS_NEEDED serialization )
SET(BOOST_MIN_VERSION "1.46.0")
find_package(Boost ${BOOST_MIN_VERSION} COMPONENTS ${BOOST_COMPONENTS_NEEDED} REQUIRED) 
if(Boost_FOUND)
#SET( CMAKE_CXX_COMPILER clang++ )

if(NOT MSVC)
  SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
endif()

add_library(NeuralNetwork ./NeuralNetwork/NeuralNetwork.cpp)

set_target_properties(NeuralNetwork PROPERTIES LINKER_LANGUAGE CXX)
target_include_directories(NeuralNetwork
		  PUBLIC
			.
			Utilities
			TinyXml
			NeuralNetwork
			${Boost_INCLUDE_DIRS})
	
target_link_libraries(NeuralNetwork
		      Utilities
		      ${Boost_LIBRARIES})

endif()
